ALL:client tcpserver 

client:clientmain.cc
	g++ -o $@ $^ -std=c++11 -lpthread 

# server:servermain.cc
# 	g++ -g -o $@ $^ -std=c++11 -lpthread

tcpserver:tcpserver.cc
	g++ -g -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf server client